package system

import (
	"github.com/gin-gonic/gin"
	"ruoyi_gin/app/admin/api/system"
	"ruoyi_gin/utils"
)

func InitUser(e *gin.Engine) {

	v := e.Group("system")

	{
		auth := v.Group("")
		auth.Use(utils.JWTAuthMiddleware())
		{

			auth.GET("/user/list", system.ListUserApi)
			auth.GET("/user/:userId", system.GetUserInfo)

		}
	}

}
